package com.ssy.lingxi.product.api.model.request.feign;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 查询商品价格
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/9/17
 */
@Data
public class CommodityPriceRequest implements Serializable {
    private static final long serialVersionUID = -8503577366566821926L;

    /**
     * 采购商会员id
     */
    @NotNull(message = "采购商会员id不能为空")
    private Long memberId;

    /**
     * 采购商会员角色id
     */
    @NotNull(message = "采购商会员角色id不能为空")
    private Long memberRoleId;

    /**
     * 商城id
     */
    @NotNull(message = "商城id不能为空")
    private Long shopId;

    /**
     * 商品类型: 1-会员商品; 2-渠道商品
     */
    @NotNull(message = "商品类型不能为空")
    private Integer commodityType;

    /**
     * 商品skuID集合
     */
    @NotNull(message = "商品skuID集合不能为空")
    private List<Long> commoditySkuIdList;
}
